package com.qiwenshare.stock.api;

import java.util.List;

import com.qiwenshare.stock.domain.StockBean;
import com.qiwenshare.stock.domain.StockDayInfo;
import com.qiwenshare.stock.domain.StockHotgroupBean;
import com.qiwenshare.stock.domain.ZtStockBean;

public interface IStockDIService {
	
	List<StockBean> getNoExistStockList(List<StockBean> stockBeanList);

    List<StockBean> getStockListByScript();

    List<StockBean> getSzseStockListByScript();
    
    StockBean getStockInfo(StockBean stockBean, List<StockDayInfo> stockdayinfoList);
    
    int getStockCount(String key, Long beginCount, Long pageCount);
    
    int getHyZtStockCount(String key, Long beginCount, Long pageCount);
    

	int getHyGnZtStockCount(String key, Long beginCount, Long pageCount);

//    List<StockBean> selectStockBeanList(String key);

    //mapper
    void insertStockList(List<StockBean> stockBeanList);

    public void createStockInfoTable(String stockNum);


    List<StockBean> selectStockList(String key, Long beginCount, Long pageCount);
    List<ZtStockBean> selectHyZtStockList(String key, Long beginCount, Long pageCount);
    
    StockBean getStockInfoById(String stockId);

    

    List<StockBean> selectTotalStockList();


    void updateStock(StockBean stockBean);


	List<StockBean> selectHyGnZtStockList(String key, Long beginCount, Long pageCount);

	List<StockHotgroupBean> getStockTableHotDataList();

	List<ZtStockBean> importZtDataByBackEnd();
	
}
